package ui;

import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.RowLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Text;
import swing2swt.layout.BorderLayout;

public class asdasd extends Composite {

	private Text text;
	/**
	 * Create the composite
	 * @param parent
	 * @param style
	 */
	public asdasd(Composite parent, int style) {
		super(parent, style);
		setLayout(new BorderLayout(0, 0));

		final Composite composite = new Composite(this, SWT.NONE);
		composite.setLayoutData(BorderLayout.NORTH);

		final Button loadButton = new Button(composite, SWT.NONE);
		loadButton.setText("Load");
		loadButton.setBounds(0, 0, 44, 23);

		final Button expandButton = new Button(composite, SWT.NONE);
		expandButton.setText("Expand");
		expandButton.setBounds(50, 0, 44, 23);

		text = new Text(composite, SWT.BORDER);
		text.setBounds(105, 2, 159, 21);

		final Composite composite_1 = new Composite(this, SWT.NONE);
		composite_1.setLayout(new FillLayout());
		composite_1.setLayoutData(BorderLayout.CENTER);

		new TreeViewer(composite_1, SWT.BORDER);
		//
	}

	@Override
	protected void checkSubclass() {
		// Disable the check that prevents subclassing of SWT components
	}

}
